﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.codeplex.eatoutadvocate.Web.Mvc.Models;

namespace com.codeplex.eatoutadvocate.Web.Mvc.Engine
{
    public class UserData
    {
        private static int userTime;                                             // 30%
        private static int userMood;                                            // 15%
        private static int userMoodLevel;                                        // 15%
        private static int userTemperature;                              // 25%
        private static int userWeather;                                      // 15%

        private static UserData user = new UserData();
        private UserData() { }

        public static UserData getNew()
        {
            return user;
        }

        public int UserMoodLevel
        {
            get { return UserData.userMoodLevel; }
            set
            {
                UserData.userMoodLevel = value; 
            }
        }
        
        public int UserWeather
        {
            get { return UserData.userWeather; }
            set { UserData.userWeather = value; }
        }
        
        public int UserTemperature
        {
            get { return UserData.userTemperature; }
            set { UserData.userTemperature = value; }
        }
        
        public int UserTime
        {
            get { return UserData.userTime; }
            set { UserData.userTime = value; }
        }
                                                    
        public int UserMood
        {
            get { return UserData.userMood; }
            set { UserData.userMood = value; }
        }
    }
}
